1 Star 0 Fork 0

xieguigang / php-dotnet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

php.NET Framework

dotnet class and framework simulation in php language

[WARNING] This project is a work in progress and is not recommended for production use.

............................................................
............................................................
..............TT.................TNT....TT..TNNNNTTNNNNNNT..
..............E..................hNh....h...h........E......
..............E..................hhE....h...h........E......
.....TTTNNT..TTTNNT..TTTNNT.....TT.NT..TT..TT.......TT......
.....EN...E..EN..Th..EN...E.....h..Eh..h...hNNNE....h.......
.....E....E..E...TT..E....E.....h..TE..h...h........h.......
....TT....h.TT...E..TT....h....TT...N.TT..TT.......TT.......
....E....h..h....h..E....h.....h....Ehh...h........h........
....NT..hT..h...TT..NT..hT.Th..h....TNh...h........h........
...TThNNT..TT...h..TThNNT..ET.TT.....NT..TNNNNT...TT........
...h...............h........................................
...h...............h........................................
..TT..............TT........................................
............................................................

It contains:

  • A MVC framework for Web App
  • A CLI framework for commandline scripting.

How to use?

  1. Clone this repository into one of the directory in your php project folder
  2. And then add includes to the package manager module:
    <?php
        include_once "./php.NET/package.php";
  3. If you want using one of the module in this project, just includes it, example:
    <?php
        include_once "./php.NET/package.php";
    
        Imports("System.Collection.Generic.Dictionary");
        Imports("Microsoft.VisualBasic.Language.List");
        Imports("Microsoft.VisualBasic.Conversion");
    
        $double = Conversion::Val("123");
        $list   = new ArrayList;
        $list->Add($double);
  4. Enjoy yourself coding with this package

For more details development information, please visit the online docs: https://framework.web_dev.biocad.cloud/

The improved Debugger

.NET system like stack trace information, example as:

<?php
   Imports('System.Diagnostics.StackTrace');
?>

# at StackTrace::GetCallStack in /modules/dotnet/dotnet.php:line 268
# at dotnet::PageNotFound in /modules/dotnet/MVC/controller.php:line 202
# at controller::Hook in /modules/dotnet/dotnet.php:line 84
# at dotnet::HandleRequest in /bootstrap.php:line 23
# at include in /index.php:line 3
# --- End of inner exception stack trace ---
MIT License Copyright (c) 2017 GCModeller Cloud Platform Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

dotnet class and framework simulation in php language 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/xieguigang/php-dotnet.git
git@gitee.com:xieguigang/php-dotnet.git
xieguigang
php-dotnet
php-dotnet
master

搜索帮助